/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Iotcloudgateway.Model
{

    /// <summary>
    ///  instanceSpec
    /// </summary>
    public class InstanceSpec
    {

        ///<summary>
        /// 实例集群名称
        ///Required:true
        ///</summary>
        [Required]
        public string InstanceName{ get; set; }
        ///<summary>
        /// iotcloudgateway版本
        ///Required:true
        ///</summary>
        [Required]
        public string InstanceVersion{ get; set; }
        ///<summary>
        /// 应用服务名称
        ///Required:true
        ///</summary>
        [Required]
        public string ServiceName{ get; set; }
        ///<summary>
        /// 实例操作
        ///Required:true
        ///</summary>
        [Required]
        public string ActionName{ get; set; }
        ///<summary>
        /// 私有网络vpcId
        ///Required:true
        ///</summary>
        [Required]
        public string VpcId{ get; set; }
        ///<summary>
        /// 子网subnetId
        ///Required:true
        ///</summary>
        [Required]
        public string SubnetId{ get; set; }
        ///<summary>
        /// 可用区ID， 如果两个可用区一样，也需输入两个azId
        ///Required:true
        ///</summary>
        [Required]
        public List<string> AzId{ get; set; }
        ///<summary>
        /// source type
        ///Required:true
        ///</summary>
        [Required]
        public string SourceType{ get; set; }
        ///<summary>
        /// AZ1实例硬件规格
        ///Required:true
        ///</summary>
        [Required]
        public string Az1flavor{ get; set; }
        ///<summary>
        /// AZ1节点个数
        ///Required:true
        ///</summary>
        [Required]
        public int Az1replica{ get; set; }
        ///<summary>
        /// AZ1云硬盘大小
        ///Required:true
        ///</summary>
        [Required]
        public int Az1storagesize{ get; set; }
        ///<summary>
        /// AZ2实例硬件规格
        ///Required:true
        ///</summary>
        [Required]
        public string Az2flavor{ get; set; }
        ///<summary>
        /// AZ2节点个数
        ///Required:true
        ///</summary>
        [Required]
        public int Az2replica{ get; set; }
        ///<summary>
        /// AZ2云硬盘大小
        ///Required:true
        ///</summary>
        [Required]
        public int Az2storagesize{ get; set; }
    }
}
